<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>二维码生成</title>
    <script src="/AdminExpress/js/jquery2.1.4.js"></script>
    <script src="/AdminExpress/js/jquery.qrcode.js"></script>
    <script src="/AdminExpress/js/utf.js"></script>

</head>
<body>
<h1>扫一扫有惊喜</h1>
<div id="qrcode"></div>

<script>

    var config = {

        width:200,
        height:200,
        text:'未曾开言，我先笑场；' +
            '笑场完了，听我诉一诉衷肠。'

    };

    $("#qrcode").qrcode(config);

</script>
</body>
</html>